<%@ page contentType="application/pdf" %>
<%@ page import="com.corda.CordaEmbedder" %>
<%

CordaEmbedder myImage = new CordaEmbedder();
myImage.externalServerAddress = "http://www.merlinscottassociates.co.uk:2001/";
myImage.internalCommPortAddress = "http://www.merlinscottassociates.co.uk:2002";
myImage.loadDoc("http://www.merlinscottassociates.co.uk/MSAL/iwIndustrySummary.jsp");

byte ba[] = myImage.getBytes();

ServletOutputStream os = response.getOutputStream();

os.write(ba,0,ba.length);

os.close();

%>